﻿using DotNetExtensions.AspNet.SQLites.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLiteSimple
{
    [SQLiteTable(Name ="t_user")]
    public class UserModel
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public DateTime CreateTime { get; set; }
    }

    [SQLiteTable(Name ="t_account")]
    public class AccountModel
    {
        public long Id { get; set; }
        public long UserId { get; set; }
        public double Money  { get; set; }
        public DateTime LastChange { get; set; }
    }
}
